package edu.zut.bailan.timecard.service.impl;

import edu.zut.bailan.base.service.impl.GenericTreeManagerImpl;
import edu.zut.bailan.timecard.dao.TimeCardCategoryDao;
import edu.zut.bailan.timecard.domain.TimeCardCategory;
import edu.zut.bailan.timecard.service.TimeCardCategoryManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service(value = "TimeCardCategoryManager")
public class TimeCardCategoryManagerImpl extends GenericTreeManagerImpl<TimeCardCategory, Long>
        implements TimeCardCategoryManager {
    TimeCardCategoryDao TimeCardCategoryDao;

    @Resource
    public void setTimeCardCategoryDao(TimeCardCategoryDao TimeCardCategoryDao) {
        this.TimeCardCategoryDao = TimeCardCategoryDao;
        this.dao = this.TimeCardCategoryDao;
    }
}
